package cn.edu.bzu.ie.sf.mealsmisweb.entity;

import java.io.Serializable;

/**
 * @version v1.0.0
 * @Package : cn.edu.bzu.ie.sf.mealsmisweb.entity
 * @Description : 用户信息实体类
 * @Create on : 2021/8/7 20:05
 * @author: Feng Song 宋锋
 **/
public class Userinfo implements Serializable {
    private Integer id;    // 微机编码，自动增长的主键
    private String uname;  // 用户名
    private String upass;  // 用户密码
    private String salt;   // 密码的盐
    private Integer depid;   // 所在部门的id
    private String depname;  // 所在的部门名称
    private Integer distid;   // 所在部门属于的区县id
    private String dname;  // 所在部门属于的区县名称
    private Integer deptype;  // 部门类型：0支队、1大队、2中队
    private Integer dep_pid;  // 父部门id
    private String dep_pname;   // 父部门名称
    private Integer dep_ptype;   // 父部门类型
    private Boolean buse;    // 账号是否在用，false停用，true在用
    private String phone;    // 密保手机号
    private String email;    // 密保电子邮箱
    private Integer creator;   // 创建者id
    private String creator_name;   // 创建者姓名
    private String create_dt;   // 创建时间

    public Userinfo() {
    }

    public Userinfo(Integer id, String uname, String upass, String salt, Integer depid, String depname,
                    Integer distid, String dname, Integer deptype, Integer dep_pid, String dep_pname,
                    Integer dep_ptype, Boolean buse, String phone, String email, Integer creator,
                    String creator_name, String create_dt) {
        this.id = id;
        this.uname = uname;
        this.upass = upass;
        this.salt = salt;
        this.depid = depid;
        this.depname = depname;
        this.distid = distid;
        this.dname = dname;
        this.deptype = deptype;
        this.dep_pid = dep_pid;
        this.dep_pname = dep_pname;
        this.dep_ptype = dep_ptype;
        this.buse = buse;
        this.phone = phone;
        this.email = email;
        this.creator = creator;
        this.creator_name = creator_name;
        this.create_dt = create_dt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpass() {
        return upass;
    }

    public void setUpass(String upass) {
        this.upass = upass;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getDepid() {
        return depid;
    }

    public void setDepid(Integer depid) {
        this.depid = depid;
    }

    public String getDepname() {
        return depname;
    }

    public void setDepname(String depname) {
        this.depname = depname;
    }

    public Integer getDistid() {
        return distid;
    }

    public void setDistid(Integer distid) {
        this.distid = distid;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public Integer getDeptype() {
        return deptype;
    }

    public void setDeptype(Integer deptype) {
        this.deptype = deptype;
    }

    public Integer getDep_pid() {
        return dep_pid;
    }

    public void setDep_pid(Integer dep_pid) {
        this.dep_pid = dep_pid;
    }

    public String getDep_pname() {
        return dep_pname;
    }

    public void setDep_pname(String dep_pname) {
        this.dep_pname = dep_pname;
    }

    public Integer getDep_ptype() {
        return dep_ptype;
    }

    public void setDep_ptype(Integer dep_ptype) {
        this.dep_ptype = dep_ptype;
    }

    public Boolean getBuse() {
        return buse;
    }

    public void setBuse(Boolean buse) {
        this.buse = buse;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public String getCreator_name() {
        return creator_name;
    }

    public void setCreator_name(String creator_name) {
        this.creator_name = creator_name;
    }

    public String getCreate_dt() {
        return create_dt;
    }

    public void setCreate_dt(String create_dt) {
        this.create_dt = create_dt;
    }
}
